package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;

import java.util.List;

public interface SubjectCategoryDomainService {

//新增分类
    void add(SubjectCategoryBo subjectCategoryBo);

//查询岗位大类
    List<SubjectCategoryBo> queryCategory(SubjectCategoryBo subjectCategoryBo);

//更新分类
    Boolean update(SubjectCategoryBo subjectCategoryBo);

    //删除分类
    Boolean delete(SubjectCategoryBo subjectCategoryBo);

    /**
     * 查询分类及标签
     * @param subjectCategoryBo
     * @return
     */
    List<SubjectCategoryBo> queryCategoryAndLabel(SubjectCategoryBo subjectCategoryBo);
}
